package com.bing.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import com.bing.entity.LoanProducts.Channelnfo;

@Mapper
public interface ChannelnfoMapper {
    int insert(@Param("channelnfo") Channelnfo channelnfo);

    int insertSelective(@Param("channelnfo") Channelnfo channelnfo);

    int insertList(@Param("channelnfos") List<Channelnfo> channelnfos);

    int updateByPrimaryKeySelective(@Param("channelnfo") Channelnfo channelnfo);

    Channelnfo getChannelDetail(String channelId);

    List<Channelnfo> getChannelList();

    String  getMaxId();
}
